gusucode.com > 耐品图片管理系统 标准版A > 耐品图片管理系统 标准版A/CodeView.asp
<!--#include file="Head.asp"--> <% '=============================================================== ' 著作权号:中国国家版权局著作权登记号2004SR07385 ' 版权所有:深圳市耐品科技开发有限公司 www.naipin.com ' 联系电话:0755-26611119 81234844 81234845 ' 联系手机:13316911914 ' 联系邮箱:naipin@naipin.com '=============================================================== %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>首页调用效果测试</title> <link href="Face/<%=Netout.CssFileName%>.css" rel="stylesheet" type="text/css"> <script language="javascript" src="Inc/menu.js"></script> <script language="javascript" src="Inc/Pop.js"></script> </head> <body> <div id=menuDiv style='z-index: 5; visibility: hidden; width: 1px; position: absolute; height: 1px;'></div> <table align="center" width="765" border="0" cellspacing="0" cellpadding="0" class="mainbody"> <tr> <td> <table cellpadding="3" cellspacing="1" border="0" align="center" height="85%"> <tr> <th height="23" class="leftTitle">首页调用效果测试</th> </tr> <tr> <td height="25" valign="top"> <div class="quote"> 调用代码: <input size="70" class="input" id="scriptcode" onMouseOver="this.select();" readonly="true"> <input name="btncopy" type="submit" id="btncopy" value="复制" class="button" onClick="javascript:oCopy(scriptcode);"> <br> <font color="#FF0000">注意事项: </font>如果是菜单调用,还必须加入以下代码: <br> 菜单代码: <textarea onMouseOver="this.select();" name="textarea" cols="68" class="input" readonly> <script language="javascript" src="<%=Config.SystemUrl%>Inc/menu.js"></script> <div id=menuDiv style="z-index: 5; visibility: hidden; width: 1px; position: absolute; height: 1px;"></div></textarea> <input name="btncopy2" type="submit" id="btncopy2" value="复制" class="button" onClick="javascript:oCopy(textarea);"> </div> <font color="gray">以下为查看的调用效果:</font> </td> </tr> <tr> <td align="center" class="class_lead_line"></td> </tr> <tr> <td height="*" valign="top"> <script language="JavaScript"> <!-- var Script = opener.txtRun.value; document.getElementById("scriptcode").value = Script; document.write(Script); function oCopy(obj){ obj.select(); var js=obj.createTextRange(); js.execCommand("Copy"); alert("代码已经成功复制到剪贴板!"); } //--> </script> </td> </tr> <tr> <td align="center" class="class_lead_line"></td> </tr> </table> <center> </center> </td> </tr> <tr> <td> </td> </tr> <tr> <td align="center"> <input name="button" type="button" class="button" onClick="window.close();" value="关闭窗口"> </td> </tr> <tr> <td> </td> </tr> </table> </body> </html>